package com.ruoyi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

import lombok.extern.slf4j.Slf4j;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
@Slf4j
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
//@ComponentScan(basePackages={"com.rouyi","cn.dlhc.dlsp.wxmp"})
//@MapperScan({"com.rouyi.system.mapper","cn.dlhc.dlsp.wxmp.**.dao"}) //@Mapper  在mapper 接口上加入也行
public class RuoYiApplication {
	public static void main(String[] args) {
		log.info("系统启动==========》begin");
		SpringApplication.run(RuoYiApplication.class, args);
		log.info("系统启动==========》end");
	}
}